home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
text
/
misc
/
nenscript1_3.lha
/
makefile.sas
< prev
next >
Wrap
Makefile
|
1993-03-22
|
1KB
|
57 lines
#
# Makefile
#
# $Id: Makefile,v 1.1 1992/10/02 01:02:32 craigs Exp $
#
OBJ = .o
PROG = nenscript
MAN = $(PROG).1
SOURCES = main.c postscri.c print.c fontwidt.c font_lis.c paper.c
OBJECTS = main.o postscri.o print.o fontwidt.o font_lis.o paper.o
INSTALLDIR = /usr/local
BININSTALLDIR = $(INSTALLDIR)/bin
MANINSTALLDIR = $(INSTALLDIR)/man/man1
LOCALINSTALLDIR = $(HOME)/bin
LOCALMANINSTALLDIR = $(HOME)/man/man1
#
# uncomment macro below for debug version
#
#DEBUG = addsym
#
# US_VERSION selects default US paper format as well as selecting US format date
#
CFLAGS = optimize define=US_VERSION=1 define=AMIGA=1
LFLAGS =
all debug: $(PROG)
$(PROG): $(OBJECTS)
$(CC) link $(CFLAGS) programname=$@ from $(OBJECTS) library=lib:scm.lib
main.$(OBJ): main.c
install.local: $(PROG) $(MAN)
$(INSTALL) -s -m 555 $(PROG) $(LOCALINSTALLDIR)
$(INSTALL) -m 444 $(MAN) $(LOCALMANINSTALLDIR)
clean:
rm -f *.o *.obj *.exe *.mdt $(PROG)
font_lis.c: machdep.h defs.h font_lis.h main.h
fontwidt.c: machdep.h defs.h fontwidt.h main.h
main.c: machdep.h defs.h version.h postscri.h print.h main.h paper.h
paper.c: machdep.h paper.h
postscri.c: machdep.h defs.h paper.h postscri.h fontwidt.h font_lis.h main.h
print.c: machdep.h defs.h print.h postscri.h main.h